﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Capstone.Services
{
    public interface DiaryIDataStore<T>
    {

        Task<bool> AddDiaryItemAsync(T item);
        Task<bool> UpdateDiaryItemAsync(T item);
        Task<bool> DeleteDiaryItemAsync(string id);
        Task<T> GetDiaryItemAsync(string id);
        Task<IEnumerable<T>> GetDiaryItemsAsync(bool forceRefresh = false);
    }
}
